﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;

namespace GPSListener
{
    public partial class GPSListenerService : ServiceBase
    {
        public GPSListenerService()
        {
            InitializeComponent();
        }

        Server server;
        protected override void OnStart(string[] args)
        {
            server=new Server();
        }

        protected override void OnStop()
        {
            server = null;
        }
    }
}
